package com.smart.aspectj.basic;

import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.DeclareParents;

import com.smart.Seller;
import com.smart.SmartSeller;


@Aspect
public class EnableSellerAspect {
    @DeclareParents(value = "com.smart.NaiveWaiter", // 为NaiveWaiter添加接口实现
            defaultImpl = SmartSeller.class) // 默认的接口实现类
    public Seller seller;
}
